﻿<div id="head-wrapper">
    <div class="logo" style="position: relative;">
        <a href="/" target="_top">
            <img src="/@(V5.Config.TemplatePath)/Images/ts-logo.png" alt="淘书网" title="淘书网-taoshu.com" /></a></div>
    <div class="tss-search">
        <form action="@V5.Url.Action("book/search", null, 1)" method="get" name="search_box" id="search_box">
        <div class="tsearch-fields">
            <label id="lb" class="" for="kw">
                找书、作家、出版社?</label>
            <input type="text" id="kw" name="wd" autocomplete="off" />
            <button type="button" id="su" onclick="search();">
            </button>
            <input type="hidden" name="f" id="f" value="0" />
            <div class="select-type" id="select-type">
                <div name="" class="select-t" id="select-t">
                    <ul>
                        <li>搜索全部</li>
                    </ul>
                </div>
                <div class="options" id="options">
                    <div class="all-field">
                        搜索全部</div>
                    <ul>
                        <li name="1">ISBN</li>
                        <li name="2">书名</li>
                        <li name="3">作者</li>
                        <li name="4">出版社</li>
                        <li name="5">丛书</li>
                    </ul>
                </div>
            </div>
            <s class="rc-tp-l"></s><s class="rc-tp-r"></s>
            <style>
                .ks-suggest-container.baidu-sug .ks-selected { background: #e8e5de; }
                .ks-suggest-container.baidu-sug .ks-selected span { color: #000; }
            </style>
        </div>
        </form>
    </div>
    <div class="tsearch-action">
        <a href="@V5.Url.Action("book/advsearch", null)">高级搜索</a>
    </div>
    <p class="tsearch-hot">
        热门搜索：
        @foreach (DataRow dr in V5.HotKeyWord.Query_By("*", "", "", 10).Rows) {
            <a href="@V5.Html.Out(V5.Url.Action("book/search", new { classid = 0, pageid = 0, search = "key!" + dr["HotKeyName"] }))">
                @dr["HotKeyName"]</a>
        }
    </p>
    <script>        function search() { form = document.getElementById("search_box"); form.submit(); }</script>
</div>
